<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
#div1  {width:100px;  height:200px; background-color:hsl(159, 40%, 29%); display:none;}
</style>
<script> 
function  showHide()
{
   var  oDiv=document.getElementById('div1');
   if(oDiv.style.display=='block')
   {
    oDiv.style.display='none';
   }
   else
   {
    oDiv.style.display='block';
   }
}
</script>
</head>

<body>
<input type="button"  value="李白" onclick="showHide()" />
<div  id="div1">
     床前明月光，疑是地上霜
</div>
</body>
</html>